home *** CD-ROM | disk | FTP | other *** search
/ Cookbook USA: Drips, Dressings & Sauces / Cookbook USA - Drips, Dressings & Sauces (1997)(MicroMedia).iso / ch15 / demo.frm < prev    next >
Text File  |  1996-07-06  |  9KB  |  223 lines

  1. VERSION 2.00
  2. Begin Form Demo 
  3.    BackColor       =   &H00C0FFC0&
  4.    Caption         =   "Form1"
  5.    ClientHeight    =   8580
  6.    ClientLeft      =   870
  7.    ClientTop       =   1410
  8.    ClientWidth     =   12105
  9.    Height          =   8985
  10.    Left            =   810
  11.    LinkTopic       =   "Form1"
  12.    ScaleHeight     =   8580
  13.    ScaleWidth      =   12105
  14.    Top             =   1065
  15.    Width           =   12225
  16.    Begin CommandButton Order 
  17.       Caption         =   "Ordering Information"
  18.       Height          =   405
  19.       Left            =   105
  20.       TabIndex        =   12
  21.       Top             =   5535
  22.       Width           =   2055
  23.    End
  24.    Begin CommandButton EndDemo 
  25.       Caption         =   "End Demo"
  26.       Height          =   495
  27.       Left            =   195
  28.       TabIndex        =   11
  29.       Top             =   6765
  30.       Width           =   1980
  31.    End
  32.    Begin TextBox DemoText 
  33.       Height          =   975
  34.       Left            =   2370
  35.       MultiLine       =   -1  'True
  36.       TabIndex        =   10
  37.       Top             =   7500
  38.       Width           =   9615
  39.    End
  40.    Begin CommandButton clicktitle 
  41.       Caption         =   "Click on Title List"
  42.       Height          =   330
  43.       Left            =   105
  44.       TabIndex        =   9
  45.       Top             =   4680
  46.       Width           =   2070
  47.    End
  48.    Begin CommandButton Printit 
  49.       Caption         =   "Click on Print"
  50.       Height          =   360
  51.       Left            =   120
  52.       TabIndex        =   8
  53.       Top             =   4185
  54.       Width           =   2085
  55.    End
  56.    Begin CommandButton copynew 
  57.       Caption         =   "Copied into New"
  58.       Height          =   360
  59.       Left            =   150
  60.       TabIndex        =   7
  61.       Top             =   3630
  62.       Width           =   2070
  63.    End
  64.    Begin CommandButton srcres 
  65.       Caption         =   "Search Results"
  66.       Height          =   360
  67.       Left            =   120
  68.       TabIndex        =   6
  69.       Top             =   2595
  70.       Width           =   2100
  71.    End
  72.    Begin CommandButton clickadd 
  73.       Caption         =   "Click on Add"
  74.       Height          =   345
  75.       Left            =   135
  76.       TabIndex        =   5
  77.       Top             =   3135
  78.       Width           =   2070
  79.    End
  80.    Begin CommandButton clicknext 
  81.       Caption         =   "Click on Next"
  82.       Height          =   345
  83.       Left            =   135
  84.       TabIndex        =   4
  85.       Top             =   1515
  86.       Width           =   2070
  87.    End
  88.    Begin CommandButton ShowSeach 
  89.       Caption         =   "Click on Seach"
  90.       Height          =   390
  91.       Left            =   150
  92.       TabIndex        =   3
  93.       Top             =   2040
  94.       Width           =   2085
  95.    End
  96.    Begin CommandButton ShowMain2 
  97.       Caption         =   "Click on Cake"
  98.       Height          =   405
  99.       Left            =   120
  100.       TabIndex        =   2
  101.       Top             =   945
  102.       Width           =   2085
  103.    End
  104.    Begin CommandButton Showmain 
  105.       Caption         =   "Show Main Screen"
  106.       Height          =   405
  107.       Left            =   105
  108.       TabIndex        =   1
  109.       Top             =   405
  110.       Width           =   2085
  111.    End
  112.    Begin PictureBox Picture1 
  113.       Height          =   7035
  114.       Left            =   2355
  115.       ScaleHeight     =   7005
  116.       ScaleWidth      =   9615
  117.       TabIndex        =   0
  118.       Top             =   330
  119.       Width           =   9645
  120.    End
  121. End
  122.  
  123. Sub clickadd_Click ()
  124. Dim temp As String
  125. MakeMouseCursorHourglass
  126. temp$ = CDDRIVE$ + "addnew.bmp"
  127.  demo.Picture1 = LoadPicture(temp)
  128.  demotext.Text = "This blank screen is created when you press the New Button.  You can type your Recipe in directly or by pressing the 'copy' button, the last displayed recipe from the main screen, will be copied into the recipe.  Click on the 'Copied into New' button to see this."
  129.   MakeMouseCursorDefault
  130. End Sub
  131.  
  132. Sub clicknext_Click ()
  133. MakeMouseCursorHourglass
  134. temp2$ = CDDRIVE$ + "next.bmp"
  135.  demo.Picture1 = LoadPicture(temp2$)
  136.  demotext.Text = "Notice that you are now viewing the next recipe within the chapter.  Now lets look at the SEARCH SCREEN, click on the 'CLICK ON SEARCH' button to see what this screen looks like.  "
  137.   MakeMouseCursorDefault
  138. End Sub
  139.  
  140. Sub clicktitle_Click ()
  141. MakeMouseCursorHourglass
  142. temp$ = CDDRIVE$ + "title.bmp"
  143.  demo.Picture1 = LoadPicture(temp$)
  144. demotext.Text = "The title list shows you the next 25 titles that match your search.  By clicking on one of the titles, you will go directly to that recipe.  I hope that you can appreciate the new features available in Version 3.0.  Please feel free to contact us with any questions."
  145.  MakeMouseCursorDefault
  146. End Sub
  147.  
  148. Sub copynew_Click ()
  149. MakeMouseCursorHourglass
  150. temp$ = CDDRIVE$ + "copied.bmp"
  151.  demo.Picture1 = LoadPicture(temp$)
  152.       demotext.Text = "The Copied Recipe can now be edited to reflect your families needs and tastes.  By clicking on the save button it will be stored as you edited the recipe.  The Recipe may be printed.  Press the 'Click on Print' Button."
  153.   MakeMouseCursorDefault
  154.  
  155. End Sub
  156.  
  157. Sub EndDemo_Click ()
  158.     demotext.Text = ""
  159.     demo.Hide
  160. End Sub
  161.  
  162. Sub Form_Activate ()
  163.       demotext.Text = "CookBook U.S.A. Version 3.0 has 52 chapters with over 1 million recipes on the CD-ROM.  The CD-ROM is a compilation of over 4700 seperate cookBooks and over 200,000 cooks from across america. "
  164.       demotext.Text = demotext.Text + Chr$(13) + Chr$(10) + "You are able to select on any chapter by simply 'clicking' on the Desired tab.  Click on the 'click on cake' button to see what this would look like"
  165.  
  166. End Sub
  167.  
  168. Sub Form_Load ()
  169.    showmain_click
  170. End Sub
  171.  
  172. Sub Order_Click ()
  173. MakeMouseCursorHourglass
  174. temp$ = CDDRIVE$ + "ordernow.bmp"
  175.  demo.Picture1 = LoadPicture(temp$)
  176.  demotext.Text = ""
  177.   MakeMouseCursorDefault
  178. End Sub
  179.  
  180. Sub Printit_Click ()
  181. MakeMouseCursorHourglass
  182. temp$ = CDDRIVE$ + "printit.bmp"
  183.  demo.Picture1 = LoadPicture(temp$)
  184.  
  185.      demo.Picture1 = LoadPicture("c:\cbwin2\jrmaster\source\printit.bmp")
  186.      demotext.Text = "When you print the recipes, you are able to select any of the fonts or fontsizes that are available to windows.  Press on 'Click on Title'."
  187.       MakeMouseCursorDefault
  188. End Sub
  189.  
  190. Sub showmain_click ()
  191. MakeMouseCursorHourglass
  192. temp$ = CDDRIVE$ + "first.bmp"
  193.  demo.Picture1 = LoadPicture(temp$)
  194.       demotext.Text = "CookBook U.S.A. Version 3.0 has 52 chapters with over 1 million recipes on the CD-ROM.  The CD-ROM is a compilation of over 4700 seperate cookBooks and over 200,000 cooks from across america. "
  195.       demotext.Text = demotext.Text + Chr$(13) + Chr$(10) + "You are able to select on any chapter by simply 'clicking' on the Desired tab.  Click on the 'click on cake' button to see what this would look like"
  196.        MakeMouseCursorDefault
  197. End Sub
  198.  
  199. Sub ShowMain2_Click ()
  200. MakeMouseCursorHourglass
  201. temp$ = CDDRIVE$ + "cake.bmp"
  202.  demo.Picture1 = LoadPicture(temp$)
  203.  demotext.Text = "Notice that the recipe number reflects the first recipe in the new chapter and the number of recipes within the chapter changes.  You also can scroll through the recipes by 'clicking' on the NEXT or PREVIOUS buttons'.  Click on the 'Click on Next Button to see this.  "
  204.   MakeMouseCursorDefault
  205. End Sub
  206.  
  207. Sub ShowSeach_Click ()
  208. MakeMouseCursorHourglass
  209. temp$ = CDDRIVE$ + "search.bmp"
  210.  demo.Picture1 = LoadPicture(temp$)
  211.  demotext.Text = "A Recipe is made of a title, ingredients and preparation instructions.  CookBook 3.0 allows you to search all three areas at once.  In the example above we are searching for the work CAKE within the title and CHOCOLITE CHIPS within the ingredients.  When we search only those recipes that contain both will be shown.   Click on 'Search Results' to see what that would look like "
  212.   MakeMouseCursorDefault
  213. End Sub
  214.  
  215. Sub srcres_Click ()
  216. MakeMouseCursorHourglass
  217. temp$ = CDDRIVE$ + "srcres.bmp"
  218. demo.Picture1 = LoadPicture(temp$)
  219. demotext.Text = "Notice that many of the chapter headings are now greyed out.  This indicates that there were no matching recipes within those chapters.  Also the total number of recipes now reflects the number of recipes that match the search.   By selecting a given chapter you are shown the first recipe that matches your search within the selected chapter. Now lets look at a new feature, ADDING RECIPES.  Click on 'Click on ADD' to see what this looks like "
  220. MakeMouseCursorDefault
  221. End Sub
  222.  
  223.